package com.yhxt.eneity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author zjh
 * @Description // 实体类
 * @Date $ $
 * @Param $
 * @return $
 */
public class Controct {
    private Integer id;
    private String userId;
    private String userName;
    private BigDecimal principalNum;
    private BigDecimal earningsNum;
    private BigDecimal recommendNum;
    private BigDecimal particularsNum;
    private Date createTime;
    private Date  updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public BigDecimal getPrincipalNum() {
        return principalNum;
    }

    public void setPrincipalNum(BigDecimal principalNum) {
        this.principalNum = principalNum;
    }

    public BigDecimal getEarningsNum() {
        return earningsNum;
    }

    public void setEarningsNum(BigDecimal earningsNum) {
        this.earningsNum = earningsNum;
    }

    public BigDecimal getRecommendNum() {
        return recommendNum;
    }

    public void setRecommendNum(BigDecimal recommendNum) {
        this.recommendNum = recommendNum;
    }

    public BigDecimal getParticularsNum() {
        return particularsNum;
    }

    public void setParticularsNum(BigDecimal particularsNum) {
        this.particularsNum = particularsNum;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Controct(Integer id, String userId, String userName, BigDecimal principalNum, BigDecimal earningsNum, BigDecimal recommendNum, BigDecimal particularsNum, Date createTime, Date updateTime) {
        this.id = id;
        this.userId = userId;
        this.userName = userName;
        this.principalNum = principalNum;
        this.earningsNum = earningsNum;
        this.recommendNum = recommendNum;
        this.particularsNum = particularsNum;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }
}

